import 'package:equatable/equatable.dart';

abstract class AppNavigatorTransitionInfo {}

class AdditionNavigatorTransitionInfo extends Equatable implements AppNavigatorTransitionInfo {
  const AdditionNavigatorTransitionInfo({
    required this.hasAnimation,
  });

  final bool hasAnimation;

  @override
  List<Object?> get props {
    return [
      hasAnimation,
    ];
  }
}

class RemovalNavigatorTransitionInfo extends Equatable implements AppNavigatorTransitionInfo {
  const RemovalNavigatorTransitionInfo({
    required this.hasAnimation,
  });

  final bool hasAnimation;

  @override
  List<Object?> get props {
    return [
      hasAnimation,
    ];
  }
}
